﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class Control_Trade : UserControl
    {
        public Control_Trade()
        {
            InitializeComponent();
        }

        private void Control_Trade_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_Trade_add cta = new Control_Trade_add();
            cta.Show();
            this.MainPanel.Controls.Add(cta);
        }

        private void button2_Click_1(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_Trade_modify ctm = new Control_Trade_modify();
            ctm.Show();
            this.MainPanel.Controls.Add(ctm);
        }

        private void button3_Click_1(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_Trade_delete ctd = new Control_Trade_delete();
            ctd.Show();
            this.MainPanel.Controls.Add(ctd);
        }

        private void button4_Click_1(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_Trade_search cts = new Control_Trade_search();
            cts.Show();
            this.MainPanel.Controls.Add(cts);
        }
    }
}
